import request from '@/utils/request'

export function getMaintenanceNoticePage(params) {
  return request({
    url: '/online/management/maintencance/notice', params, method: 'GET'
  })
}

export function addMaintenanceNotice(data) {
  return request({
    url: `/online/management/maintencance/notice`, data,
    method: 'POST'
  })
}

export function getMaintenanceNoticeById(id) {
  return request({
    url: `/online/management/maintencance/notice/${id}`, method: 'GET'
  })
}
